package com.hillky.emos.wx.mapper;

import com.hillky.emos.wx.domain.TbCheckin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author Hillky
* @description 针对表【tb_checkin(签到表)】的数据库操作Mapper
* @createDate 2023-01-29 10:56:24
* @Entity com.hillky.emos.wx.domain.TbCheckin
*/
@Mapper
public interface TbCheckinMapper extends BaseMapper<TbCheckin> {

    public Integer haveCheckin(HashMap map);

    public HashMap searchTodayCheckin(int userId);

    public Long searchCheckinDays(int userId);

    public ArrayList<HashMap> searchWeekCheckin(HashMap map);

}




